package com.cxz.study.application.order.web;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;

import java.time.LocalDateTime;

/**
 * @className: OrderVO
 * @author: ocxz1
 * @date: 2025/6/15 下午12:01
 * @Version: 1.0
 * @description: ddd-struct3
 */
@Data
public class OrderVO {
    private Long id;
    private Long userId;
    private Long productId;
    private Integer productCount;

    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private LocalDateTime createdAt;
}
